package demo07.test2;

@Table("Student")
public class Students {

    @PrimaryKey
    @Auto_Increment(autoIncrement = false)
    private int id;
    private String stuName;
    private int age;

    public Students() {
    }

    public Students(int id, String stuName, int age) {
        this.id = id;
        this.stuName = stuName;
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
